package cn.jbit.smbms.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import cn.jbit.smbms.pojo.User;

@Mapper
public interface UserDao {
	int insert(User user);

	int delete(int id);

	int update(User user);
    int queryCountByParam(Map<String, Object> param);

	List<User> queryListByParam(Map<String, Object> param);

    User login(String userCode, String userPassword);

    User selectById(Integer id);
}
	